Implantation of device